;; dnet130c2.inf 
;;
;; D-Link DWA-130 Wireless N USB Adapter(rev.C2)
;;
;; Copyright (C) 2008 D-Link Corp.
;;
;; this release is primarily for WHQL test.
;;

;FOR WIN 7

[Version]
Signature	= "$Windows NT$"
Class		= Net
ClassGUID	= {4d36e972-e325-11ce-bfc1-08002be10318}
Provider	= %DLink%
CatalogFile.NT	= dnet130c2.cat		;; for WHQL certified
DriverVer = 08/15/2009,1085.7.0815.2009

[Manufacturer]
%DLink% = DLink,NTamd64.6.1

[ControlFlags]
ExcludeFromSelect = USB\VID_07D1&PID_3302

;;****************************************************************************
;; IDs for X86
;;****************************************************************************
[DLink.NTx86.6.1]
%DWA-130C2.DeviceDesc% = DWA130C2.ndi, USB\VID_07D1&PID_3302

;;****************************************************************************
;; IDs for X64
;;****************************************************************************
[DLink.NTamd64.6.1]
%DWA-130C2.DeviceDesc% = DWA130C2.ndi, USB\VID_07D1&PID_3302

;;****************************************************************************
;; Windows 2000/XP
;;****************************************************************************
;;----------------------------------------------------------------------------
;; Realtek default installation
;;----------------------------------------------------------------------------
[DWA130C2.ndi.NT]
AddReg			= RTL8192su.os61.reg, RTL8192su.common.reg, RTLWLAN.reg
Characteristics	= 0x84
BusType			= 15 
CopyFiles		= RTL8192su.CopyFiles
*IfType			= 71            ; IF_TYPE_IEEE80211
*MediaType		= 16            ; NdisMediumNative802_11
*PhysicalMediaType	= 9          ; NdisPhysicalMediumNative802_11

[DWA130C2.ndi.NT.Services]
AddService		= DRTL81xU, 2, RTL8192su.nt61.Service, RTL8192su.nt61.EventLog

[DWA130C2.ndi.NT.HW]
AddReg = RTL8192su_os61.vwifi.reg

;****************************************************************************
;; Windows 2000/XP parameters
;;****************************************************************************
[RTL8192su.os61.reg]
HKR, Ndi\Interfaces,	UpperRange, 0, "ndis5,mdcwifi"
HKR, Ndi\Interfaces,	LowerRange, 0, "wlan, ethernet, vwifi"
HKR, Ndi,				Service,    0, "DRTL81xU"

[RTL8192su.nt61.Service]
DisplayName    = %DLink.DeviceDesc.DispName%
ServiceType    = 1		; %SERVICE_KERNEL_DRIVER%
StartType      = 3		; %SERRVICE_DEMAND_START%
ErrorControl   = 1		; %SERRVICE_ERROR_NORMAL%
ServiceBinary  = %12%\dw130c2.sys
LoadOrderGroup = NDIS

[RTL8192su.nt61.EventLog]
AddReg = RTL8192su.nt61.AddEventLog.reg

[RTL8192su.nt61.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported  , 0x00010001, 7

;; Adds the VWiFi PNP filter
[RTL8192su_os61.vwifi.reg]
HKR,,"UpperFilters",0x00010000,"vwifibus"

;*******************************************************************************
; DWA-130 rev.C2 common paramters
;*******************************************************************************
[RTL8192su.common.reg]
HKR,,CcxRm,0,"0"

HKR,defaults,			AH_BcnIntv, 	0, "1000"
HKR,Ndi\params\AH_BcnIntv, 	default, 	0, "100"
HKR,Ndi\params\AH_BcnIntv,	ParamDesc, 	0, %AH_BCNINTV_STR%
HKR,Ndi\params\AH_BcnIntv, 	type, 		0, "int"
HKR,Ndi\params\AH_BcnIntv, 	min, 		0, "20"
HKR,Ndi\params\AH_BcnIntv, 	max, 		0, "1000"
HKR,Ndi\params\AH_BcnIntv, 	step, 		0, "1"

;;----------------------------------------------------------------------------
;; DWA-130 rev.C2 WLAN NIC parameters
;;----------------------------------------------------------------------------
[RTLWLAN.reg]
HKR,,SSID,0,""

HKR,,Channel,0,"10"

HKR,Ndi\params\Dot11dEnable,        ParamDesc,  0, %DOT11_ENABLE_STR%
HKR,Ndi\params\Dot11dEnable,        type,       0, "enum"
HKR,Ndi\params\Dot11dEnable,        default,    0, "0"
HKR,Ndi\params\Dot11dEnable\enum,   "0",        0, %DISABLE_STR%
HKR,Ndi\params\Dot11dEnable\enum,   "1",        0, %ENABLE_STR%
HKR,defaults,Dot11dEnable,0,"0"
HKR,,Dot11dEnable,0,"0"

HKR,Ndi\params\WirelessMode, 		ParamDesc, 	0, %WL_MODE_STR%
HKR,Ndi\params\WirelessMode, 		type, 		0, "enum"
HKR,Ndi\params\WirelessMode, 		default, 	0, "8"
HKR,Ndi\params\WirelessMode\enum, 	"2", 		0, %IEEE_802_11B_STR%
HKR,Ndi\params\WirelessMode\enum, 	"4", 		0, %IEEE_802_11BG_STR%
HKR,Ndi\params\WirelessMode\enum, 	"8", 		0, %IEEE_802_11BGN_STR%
HKR,defaults,WirelessMode, 0, "8"
HKR,,WirelessMode, 0, "8"

;Inactive Power Save
HKR,,bInactivePs,0,"1"

HKR,,LedCtrl,0,"1"

HKR,,DefaultKeyID,,"0"
HKR,,DefaultKey0,,""
HKR,,DefaultKey1,,""
HKR,,DefaultKey2,,""
HKR,,DefaultKey3,,""


;*******************************************************************************
; Destination Directory
;*******************************************************************************
[RTL8192su.CopyFiles]
dw130c2.sys,RTL8192su.sys,2

[DestinationDirs]
DefaultDestDir     = 11
RTL8192su.CopyFiles		= 12

;;****************************************************************************
;; Source Files
;;****************************************************************************
[SourceDisksFiles]
RTL8192su.sys = 1

[SourceDisksNames]
1=%DISKNAME%,,,

;*******************************************************************************
; Strings
;*******************************************************************************
[Strings]
DLink					= "D-Link Corporation"
SSID_STR				= "SSID"
CHANNEL_STR				= "Channel"
NETWORK_TYPE_STR		= "Network Type"
LED_CONTROL_STR			= "LED Control" 
POWER_SAVE_STR			= "Power Save Mode"
WIFI_IBSS_STR			= "IBSS Default 11b Mode"
RATE_ADAPTIVE_STR		= "Rate Adaptive"
QOS_STR					= "QoS"
WMM_APSD				= "WMM APSD"
CCX_RM_STR				= "CCX Radio Measurement"
CCX_OFF_LINE_DUR_UP_LIMIT_STR		= "CCX Max Off-Line Measurement (0: unlimited)"
FORCE_PRIORITY_STR		= "Forced Priority"
HW_PARA_STR				= "Init from HwParaFile"
THREE_WIRE_MODE_STR		= "Three Wire Programming Mode"
BOARD_TYPE_STR			= "Board Type"
PROTECTION_MODE_STR		= "Protection Mode"
TPC_STR					= "Transmit Power Control"
TPC_POLARITY_STR		= "TPC Polarity Select"
HIGH_POWER_STR			= "High Power Mechanism"
INIT_GAIN_STR			= "Initial Gain State"
CW_MAX_MIN_STR			= "Contention Window"
PSP_XLINK_STR			= "PSP XLink Mode"
CHANNEL_PLAN_STR		= "Channel Plan"
WL_MODE_STR				= "Wireless Mode"
PREAMBLE_MODE_STR		= "Preamble Mode"
FRAGTHRESH_STR			= "Fragmentation Threshold"
RTSTHRESH_STR			= "RTS Threshold"
DOT11_ENABLE_STR		= "802.11d"
AH_BCNINTV_STR 			= "Beacon Interval"
DISABLE_STR 			= "Disable"
ENABLE_STR 				= "Enable"
IEEE_802_11B_STR 		= "IEEE 802.11b"
IEEE_802_11BG_STR 		= "IEEE 802.11b/g"
IEEE_802_11BGN_STR 		= "IEEE 802.11b/g/n"

;; Source disk name
DISKNAME				= "D-Link DWA-130 Wireless N USB Adapter(rev.C2) Driver Disk"
DWA-130C2.DeviceDesc 	= "D-Link DWA-130 Wireless N USB Adapter(rev.C2)"
DLink.DeviceDesc.DispName	= "D-Link DWA-130 Wireless N USB Adapter(rev.C2)"
